import {
	httpPost,
	httpGet
} from "../utils/request"
// 查询团队
export const getTeamApi = (data) => {
	return httpPost('/teams/search', data)
}
// 根据居民id获取服务包
export const getSignIdApi = (data) => {
	return httpGet('/signs/getServicePacks', data)
}
// 搜搜机构方法
export const getServicePacksApi = (data) => {
	return httpGet('/servicePacks/getByOrganization', data)
}
// 搜索医生方法
export const getServiceDoctorsApi = (data) => {
	return httpPost('/doctors/search', data)


}


// 获取签约进度
export const getSigningRecordApi = (data) => {
	return httpGet('/signs/process', data)
}


// 获取签约
export const findSignApi = (data) => {
	return httpPost('/signs/search', data)


}

//获取一个签约详情
export const getSignApi = (data) => {
	return httpGet("/signs/detail", data)
}
// 新增签约的请求
export const addSignApi = (data) => {
	return httpPost('/signs/add', data)
}
// 查询签约数据 获取签约数据
export const getSigningDataApi = (data) => {
	return httpPost('/signs/search', data)
}
// 签约支付的请求
export const getSignPaymentApi = (data) => {
	return httpPost('/signs/payment', data)
}
// 获取一个签约详情
export const getSignDetailsApi = (data) => {
	return httpGet('/signs/detail', data)
}
// 获取一个完整的签约详情
export const getFullsignDetailApi = (data) => {
	return httpGet('/signs/fullDetail', data)

}